package cn.itsource.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data //生成get set hashcode toString
@AllArgsConstructor //全参数构造
@NoArgsConstructor //无参构造
@TableName("t_order_pet_acquisition")
@Api("对象")
public class OrderPetAcquisition{
    private Long id;
    //摘要
    private String digest;
    //状态 0:未支付
    private Integer state = 0;
    //价格
    private Double price;
    //订单编号
    private String orderSn;
    //支付编号
    private String paySn;
    //宠物id
    private Long petId;
    //用户id
    private Long userId;
    //支付类型  垫付  余额  银行转账
    private Integer payType;
    //店铺id
    private Long shopId;
    //地址
    private String address;
    //员工id
    private Long empId;

    @TableField(exist = false)
    private Long msgId;
}
